package com.fx.util;

import java.io.Serializable;

/**
 * @Auther: EDZ
 * @Date: 2018-6-14 17:57:
 * @Email: 你的邮箱
 * 概要说明：该类干嘛用的
 **/
public class PageInfo implements Serializable {
    private String pageUrl;
    private String pageTitle;
    private String innerTitle;
    private static PageInfo pageInfo = new PageInfo();

    public String getPageUrl() {
        return pageUrl;
    }

    public void setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
    }

    public String getPageTitle() {
        return pageTitle;
    }

    public void setPageTitle(String pageTitle) {
        this.pageTitle = pageTitle;
    }

    public String getInnerTitle() {
        return innerTitle;
    }

    public void setInnerTitle(String innerTitle) {
        this.innerTitle = innerTitle;
    }

    public static PageInfo getInstance(String pageUrl, String pageTitle, String innerTitle){
        pageInfo.setPageUrl(pageUrl);
        pageInfo.setPageTitle(pageTitle);
        pageInfo.setInnerTitle(innerTitle);
        return pageInfo;
    }
}
